package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description:
 * 登录前端接收参数实体类
 *
 * @author ALIENWARE <br />
 * @date 2021/9/6
 */
@ApiModel(value = "com-bjsxt-dto-LoginFormDto/登录前端接收参数实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class LoginFormDto extends GeetestDto {
    /**
     * 电话的国家区号
     */
    @ApiModelProperty(value = "电话的国家区号")
    private String countryCode;
    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    @NotBlank
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "登录密码")
    @NotBlank
    private String password;
}
